package com.tanhua.manage.api;

import com.tanhua.manage.pojo.PublishInfo;
import com.tanhua.manage.vo.PageInfo;
import com.tanhua.manage.vo.PublishDetailsVo;
import com.tanhua.manage.vo.PublishInfoVo;
import org.bson.types.ObjectId;

import java.util.Properties;

public interface PublishApi {


    /**
     *    分页查询圈子
     * @param page
     * @param pageSize
     * @param sortProrerties
     * @param publishId
     * @param userId
     * @param startDate
     * @param endDate
     * @return
     */
    PageInfo<PublishInfoVo> queryPublishInfo(Integer page, Integer pageSize, String sortProrerties,
                                             ObjectId publishId, Integer userId, String startDate, String endDate );


    /**
     * 根据id查询圈子
     * @param publishId
     * @return
     */
    PublishDetailsVo queryPublishDetails(String publishId);
}
